package com.yunhai.ucenter.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yunhai.model.entity.ums.UmsUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author mengze
 * @since 2023-08-23
 */
@Mapper
@Repository
public interface SysUserMapper extends BaseMapper<UmsUser> {

    @Select("select * from ums_user where user_name=#{username}")
    public UmsUser getAllStatusUser( String username ) throws Exception;
}
